<template>
  <div class="login">
    <form class="main">
      <h2 class="wel">欢迎回到猿计划</h2>
      <p><input type="text" placeholder="请输入登录手机号" name="cellnum"></p>
      <p><input type="text" placeholder="6-16密码,区分大小写,不能用空格" name="psw"></p>
      <p>
        <input type="checkbox" id="remb"><label for="remb">下次自动登录</label>
        <a>立即注册</a>
        <a>忘记密码</a>
      </p>
      <p><input type="button" value="登录" name="log"></p>
    </form>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
  $hheight: 66px;
  $innerwidth: 420px;

  .login {
    position: absolute;
    top: $hheight;
    width: 100%;
    background-color: #efefef;
    user-select:none;
    .main {
      margin: 53px auto;
      width: 693px;
      height: 516px;
      background-color: #ffffff;
      .wel {
        margin: 0 auto 35px;
        width: $innerwidth;
        height: 34px;
        padding-top: 74px;
        line-height: 16px;
        font-size: 16px;
        font-weight: normal;
        text-align: center;
        border-bottom: 1px solid #000;
      }
      p:nth-child(-n + 3) {
        height: 53px;
        width: $innerwidth;
        margin: 0 auto 30px;
        input {
          display: inline-block;
          box-sizing: border-box;
          width: 100%;
          height: 100%;
          padding-left: 10px;
          &:focus {
            outline: none;
          }
        }
      }
      p:nth-child(4) {
        width: $innerwidth;
        margin: 0 auto 50px;
        input {
          display: none;
        }
        label::before {
          content: '';
          display: inline-block;
          box-sizing: border-box;
          width: 18px;
          height: 18px;
          border: 1px solid #000000;
          border-radius: 2px;
          background-color: #fff;
          margin-right: 8px;
          vertical-align: middle;
        }
        label {
          cursor: pointer;
        }
        a {
          float: right;
          cursor: pointer;
        }
        a:nth-last-child(2) {
          padding-left: 40px;
          color: #f20d34;
        }
      }
      p:nth-child(5) {
        text-align: center;
        input {
          width: 164px;
          height: 34px;
          border: none;
          background-color: #ea0f2d;
          color: #fff;
          border-radius: 15px;
          cursor: pointer;
        }
      }
    }
  }
</style>
=======
<template>
  <div class="login">
    <form class="main">
      <h2 class="wel">欢迎回到猿计划</h2>
      <p><input type="text" placeholder="请输入登录手机号" name="cellnum"></p>
      <p><input type="text" placeholder="6-16密码,区分大小写,不能用空格" name="psw"></p>
      <p>
        <input type="checkbox" id="remb"><label for="remb">下次自动登录</label>
        <a>立即注册</a>
        <a>忘记密码</a>
      </p>
      <p><input type="button" value="登录" name="log"></p>
    </form>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
  $hheight: 66px;
  $innerwidth: 420px;

  .login {
    position: absolute;
    top: $hheight;
    width: 100%;
    background-color: #efefef;
    user-select:none;
    .main {
      margin: 53px auto;
      width: 693px;
      height: 516px;
      background-color: #ffffff;
      .wel {
        margin: 0 auto 35px;
        width: $innerwidth;
        height: 34px;
        padding-top: 74px;
        line-height: 16px;
        font-size: 16px;
        font-weight: normal;
        text-align: center;
        border-bottom: 1px solid #000;
      }
      p:nth-child(-n + 3) {
        height: 53px;
        width: $innerwidth;
        margin: 0 auto 30px;
        input {
          display: inline-block;
          box-sizing: border-box;
          width: 100%;
          height: 100%;
          padding-left: 10px;
          &:focus {
            outline: none;
          }
        }
      }
      p:nth-child(4) {
        width: $innerwidth;
        margin: 0 auto 50px;
        input {
          display: none;
        }
        label::before {
          content: '';
          display: inline-block;
          box-sizing: border-box;
          width: 18px;
          height: 18px;
          border: 1px solid #000000;
          border-radius: 2px;
          background-color: #fff;
          margin-right: 8px;
          vertical-align: middle;
        }
        label {
          cursor: pointer;
        }
        a {
          float: right;
          cursor: pointer;
        }
        a:nth-last-child(2) {
          padding-left: 40px;
          color: #f20d34;
        }
      }
      p:nth-child(5) {
        text-align: center;
        input {
          width: 164px;
          height: 34px;
          border: none;
          background-color: #ea0f2d;
          color: #fff;
          border-radius: 15px;
          cursor: pointer;
        }
      }
    }
  }
</style>
>>>>>>> 4fd2cc3bb7fd1f55f53102d06a0c04ddb605e7b6
